import http from '../utils/http.js'

export const getPayOrderPage = (params) => {
  return http.post('/pay/getPayOrderPage', params)
}

export const getPayDetails = (id) => {
  return http.get(`/pay/getPayDetails/${id}`)
}

export const cancelPay = (id) => {
  return http.post(`/pay/cancel/${id}`)
}